home *** CD-ROM | disk | FTP | other *** search
- /*
- *
- * Customer.h
- *
- * You may freely copy, distribute and reuse the code in this example.
- * NeXT disclaims any warranty of any kind, expressed or implied, as to
- * its fitness for any particular use.
- *
- */
-
- #import <appkit/appkit.h>
-
- @interface Customer:Object
- {
- char *name;
- int uid;
- }
-
- // Overridden methods
-
- - init;
- - free;
- - read:(NXTypedStream *)stream;
- - write:(NXTypedStream *)stream;
-
-
- // Accessor methods
-
- - setCustomerName: (const char *)newName;
- - (const char *) customerName;
- - setCustomerUid: (int)newUid;
- - (int) customerUid;
-
- @end
-